package com.ruoyi.livedemo.dto;

import java.time.LocalDate;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LifeRecordRequest {

    @NotNull(message = "请选择记录日期")
    private LocalDate recordDate;

    @NotBlank(message = "请填写标题")
    private String title;

    private String location;
    private String weather;
    private String mood;
    private String description;
    private String coverPath;
    private Long attachmentId;
}
